* {
  box-sizing: border-box;
  margin: 0;
}

img {
  max-width: 100%;
}
body {
  background-image: url(./my-pics/site-bg.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin: 0;
  font-family: "Merriweather Sans", sans-serif, Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 100;
}

.title {
  padding: .5em 1em 0;
}
.grid-wrapper{
  grid-template-columns: 1fr;
  width: 100%;
  text-align: center;
  background-image: url(./my-pics/laptop.jpg);
  background-size: cover;
  margin: 0 auto;
}
.top-txt {
  font-family: "EB Garamond", serif;
  font-weight: bolder;
  background: rgba(119, 119, 119, 0.5);
  font-size: 1.5rem;
  padding: 1em 0;
  color: #222632;  
}
.title {
  font-size: 3rem;
  padding: .5em 0;
  margin: 0;
}
.about-nav {
  padding: 1em 0 2em;
}
.contact-nav {
  padding: .5em 0;
}
.home-img {
  width: 100%;
  border-radius: 10px;
  margin: 0 auto;
}
ul {
  list-style: none;
  padding: .5em 0 0 0;
}
ul li {
  margin-bottom: .4em;
}
ul li:last-child {
  margin-bottom: 0;
}
.navbar {
  text-align: center;
  padding: 1em 0;
}
.navbar a {
  font-style: italic;
  color: #ddd;
  text-decoration: none;
}
a:hover{
  color: #222632;
  cursor: pointer;
}
.gallery-hdr {
  font-family: "Italiana", sans-serif;
  font-size: 4.5rem;
  opacity: .8;
  padding: 1em 0 .5em;
  text-align: center;
}

.scissors {
 width: 2.5em;
 display: block;
 margin-left: auto;
 margin-right: auto;
 padding: .5em 0 1em 0;
}
.gallery {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  padding: 2rem;
}
.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.gallery img:hover {
  transform: scale(1.10);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.about-content {
  font-family: "Work Sans", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}
.about-img {
  width: 60%;
  border-radius: 25%;
  margin: 0 auto;
}
.about-title {
  font-weight: 400;
  color: #606a86;
  font-size: 2rem;
  padding-top: 1em;
  margin-bottom: .5em;
}
.about-text {
  text-align: start;
  color: #606a86;
  width: 90%;
  margin: 0 auto;
  padding-bottom: 1em;
  font-size: 1.5rem;
  padding-bottom: 1em;
}

/* Close button */
#close-contact {
  display: inline-block;
  padding: 0;
  margin: 0;
  color: #191919;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Make form fill more elegantly on mobile */
.contact-form {
  width: 90%;
  margin: 0 auto;
  max-width: 380px;
}

.contact-form input,
.contact-form button {
  width: 100%;
  font-size: 1.5rem;
  margin-bottom: 15px;
  padding: 12px;
}
.contact-form button {
  font-size: 2rem;
}
.contact-title {
  display: flex;
  flex-direction: row;
}
.contact-title h1 {
  margin: 0;
}
.contact-phone {
  font-size: 1.5rem;
}
.contact-email {
  font-size: 1.5rem;
  padding-bottom: 4em;
}
.label-txt {
  font-family: "Work Sans", sans-serif;
  padding: 8px 0;
  margin: 0;
}
input {
  background: transparent;
  color: #191919;
  font-size: 1.1rem;
  height: 2rem;
  border: 0;
  border-bottom: 2.5px solid #333;
}
button {
  background: transparent;
  font-size: 6rem;
  margin-top: .5em;
  padding: .5em 0;
  color: #333;
  border: 0;
}
.footer-format {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.footer {
  background: #0f1018;
  color: #eee;
  padding: 1em;
}
.footer p,
.footer a,
.footer h2 {
  font-size: 1rem;
  padding: .5em;
}
.footer h2:last-child{
  margin-bottom: 1em;
}
.footer a {
  color: #eee;
  text-decoration: none;
}
@media (min-width: 768px) {
  .home {
    padding-bottom: 2em;
  }
  .navbar {
    padding: 1.5em 0;
    margin-bottom: 2em;
  }
  .navbar ul{
    display: flex;
    justify-content: center;
    margin: 0;
  }
  .navbar li {
    font-size: 2rem;
    padding: .8em 0 1.8;
    margin: 0 1em;
  }
  .grid-wrapper {
    caret-color: transparent;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: start;
    align-items: center;
    max-width: 1400px;
    width: 85%;
    margin: 0 auto
  }
  .top-txt {
    display: inline-block;
    background: rgba(119, 119, 119, 0.2);
    font-size: 2rem;
    padding: .5em 0;
    color: #222632;
  }
  .title {
    font-size: 5rem;
  }
  .about-title{
    font-size: 3rem;
  }
  .about-text {
    font-size: 2.5rem;
  }
  .shiny-text {
    letter-spacing: .2em;
  }
  .about-content {
    text-align: start;
    width: 85%;
    padding: 0 3em;
    margin: 2em auto;
  } 
  .about-img {
    float: right;
    width: 350px;
  }
    .bottom-txt {
      font-family: "Story Script", sans-serif;
      text-align: center;
      font-size: 3rem;
      color: #fff;
      opacity: .8;
      margin: 1rem 0 2rem;
      transform: translateX(-50px);
    }
    .label-txt {
      padding: 2px 0;
    }
    .contact-title,
    .contact-form button {
      font-size: 1.5rem;
    }
    .contact-phone,
    .contact-form input,
    .label-txt {
      font-size: 1rem;
    }
    .contact-email {
      font-size: 1rem;
      padding-bottom: 1em;
    }
    .footer-format {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: start;
      padding: 1.5em;
      text-align: start;
      width: 80%;
      margin: 0 auto;
    }
}

